package com.iv.durian.cloud.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@ApiModel(value="用户通知")
public class NotifyVO {

    private Integer id;

    @ApiModelProperty("user_id")
    @JsonProperty("user_id")
    private Integer userId;

    private int type;

    private String title;

    private String content;

    private int status;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("create_time")
    @JsonProperty("create_time")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("update_time")
    @JsonProperty("update_time")
    private Date updateTime;

}
